Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
PtpProcess Class Reference
Inheritance diagram for PtpProcess:
Process

Public Member Functions

long getT1 ()
 Returns the T1 value. More...
 
long getT2 ()
 Returns the T2 value. More...
 
long getT3 ()
 Returns the T3 value. More...
 
long getT4 ()
 Returns the T4 value. More...
 
void setT1 (long)
 Sets the T1 value. More...
 
void setT2 (long)
 Sets the T2 value. More...
 
void setT3 (long)
 Sets the T3 value. More...
 
void setT4 (long)
 Sets the T4 value. More...
 
void setPtpDebugEventFlag (bool)
 Sets debug event flag for ptp. More...
 
bool getPtpDebugEventFlag ()
 Gets debug event flag for ptp. More...
 
void setPtpDebugMsgFlag (bool)
 Sets debug message flag for ptp. More...
 
bool getPtpDebugMsgFlag ()
 Gets debug message flag for ptp. More...
 
void syncToCurrentTime ()
 Syncs the time to the current time. More...
 
void runBMC ()
 Runs BMC (best master clock). More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Member Function Documentation

◆ getPtpDebugEventFlag()

bool PtpProcess::getPtpDebugEventFlag ( )

Gets debug event flag for ptp.

Returns
bool, true if debug enabled, false if disabled.

◆ getPtpDebugMsgFlag()

bool PtpProcess::getPtpDebugMsgFlag ( )

Gets debug message flag for ptp.

Parameters
return,valueis the flag value.

◆ getT1()

long PtpProcess::getT1 ( )

Returns the T1 value.

Returns
long, the T1 value.

◆ getT2()

long PtpProcess::getT2 ( )

Returns the T2 value.

Returns
long, the T2 value.

◆ getT3()

long PtpProcess::getT3 ( )

Returns the T3 value.

Returns
long, the T3 value.

◆ getT4()

long PtpProcess::getT4 ( )

Returns the T4 value.

Returns
long, the T4 value.

◆ runBMC()

void PtpProcess::runBMC ( )

Runs BMC (best master clock).

◆ setPtpDebugEventFlag()

void PtpProcess::setPtpDebugEventFlag ( bool  )

Sets debug event flag for ptp.

Parameters
flag,trueto enable debug, false to disable.

◆ setPtpDebugMsgFlag()

void PtpProcess::setPtpDebugMsgFlag ( bool  )

Sets debug message flag for ptp.

Parameters
flag,valueto use for the flag.

◆ setT1()

void PtpProcess::setT1 ( long  )

Sets the T1 value.

Parameters
t,theT1 value to use.

◆ setT2()

void PtpProcess::setT2 ( long  )

Sets the T2 value.

Parameters
t,theT2 value to use.

◆ setT3()

void PtpProcess::setT3 ( long  )

Sets the T3 value.

Parameters
t,theT3 value to use.

◆ setT4()

void PtpProcess::setT4 ( long  )

Sets the T4 value.

Parameters
t,theT4 value to use.

◆ syncToCurrentTime()

void PtpProcess::syncToCurrentTime ( )

Syncs the time to the current time.


The documentation for this class was generated from the following file: